﻿namespace OasisCiq.Xpil
{
    using System.Collections.Generic;
    using System.Collections.Specialized;
    using External;

    /// <summary>
    /// A container for relationships with other parties 
    /// (persons or organisations, and the nature of relationship). 
    /// Can also use this to define an organisation hierarchy (parent and 
    /// subsidiary organisations or branches/groups of organisations)
    /// </summary>
    public class Relationships : List<Relationship>, IExtendedAttributes
    {
        public Relationships()
        {
        }

        public Relationships(int capacity)
            : base(capacity)
        {
        }

        public Relationships(IEnumerable<Relationship> collection)
            : base(collection)
        {
        }

        public NameValueCollection ExtendedAttributes { get; set; }
    }
}
